/ Assembly List / LJCDBClientLib / ObjectManager`2 / Load

Namespace - LJCDBClientLib


Parameters
keyColumns - The record containing the key field values.
propertyNames - The incuded column property names.
filters - The filter values.
joins - The join values.

Returns

The data record collection.

Syntax

C#
public TList Load(DbColumns keyColumns = null, List<String> propertyNames = null, DbFilters filters = null, DbJoins joins = null)

Retrieves a collection of data records. (E)

Example

C#
// Loads multiple Person objects.
private static Persons Load(ObjectManager<Person, Persons> personManager)
{
  Persons retValue;

  // Create Key Columns.
  var keyColumns = new DBColumns()
  {
    Name = "TestName"
  };

  // Load the records.
  retValue = personManager.Load(keyColumns);
  return retValue;
}

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.